@img-size: 24px;

.member {
  align-items: center;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  font-size: 12px;
  height: @img-size + 8px;
  padding: 0 4px;
  &.highlight {
    background-color: #e1e1e1;
  }
}

.image-wrap {
  border-radius: 6px;
  height: @img-size;
  margin-right: 6px;
  overflow: hidden;
  width: @img-size;
  flex-shrink: 0;
  .at-icon {
    background-color: cornflowerblue;
    color: #fff;
    font-size: 12px;
    line-height: @img-size;
    text-align: center;
  }
  img {
    height: 100%;
    width: 100%;
  }
}

.name-wrap {
  align-items: center;
  display: flex;
  overflow: hidden;
  .name {
    line-height: @img-size;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  :global(.ant-tag) {
    margin: 0 0 0 6px;
    padding: 0 4px;
    transform-origin: left center;
    transform: scale(0.8);
  }
}
